<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<html>
<head>
<title>组织机构管理</title>
<script src="${ctx}/static/js/echarts-2.2.0/build/dist/echarts.js" type="text/javascript"></script>
<script type="text/javascript">
	var option = "";
	require.config({
		paths : {
			echarts : '${ctx}/static/js/echarts-2.2.0/build/dist'
		}
	});
	require([ 'echarts', 'echarts/chart/force', 'echarts/chart/chord' ], function(ec) {
		var myChart = ec.init(document.getElementById('main'));
		$.get("${ctx}/basic/organization/showMap", function(param) {
			option = param.obj;
			myChart.setOption(option);
		}, "json");
	});
</script>
</head>

<body>
	<div data-options="region:'center',fit:true,border:false">
		<div id="main" style="height: 500px"></div>
	</div>
</body>
</html>
